package com.haole.ecommercepay.withdraw.service;

import com.alibaba.fastjson.JSONObject;
import com.haole.ecommercepay.withdraw.entity.QueryWithdrawParam;
import com.haole.ecommercepay.withdraw.entity.WithdrawParam;

/**
 * @author haole
 */
public interface WithdrawService {

    /**
     * 账户余额提现
     * @param param
     * @return
     */
    JSONObject withdraw(WithdrawParam param);
    /**
     * 通过微信支付提现单号查询提现状态
     * @param param
     * @return
     */
    JSONObject withdrawId(QueryWithdrawParam param);
    /**
     * 通过商户提现单号查询提现状态
     * @param param
     * @return
     */
    JSONObject outRequestNo(QueryWithdrawParam param);
}
